<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../js/vue.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<input type="text" id="" v-model="name" value="" @keyup="getresult"/>+
			<input type="text" id="" value="" v-model="name1" @keyup="getresult"/>=
			<input type="text" id="" value="" v-model="nameresult"/>
		</div>
		<script type="text/javascript">
			new Vue({
				el:"#app",
				data:{
					name:"",
					name1:"",
					nameresult:""
				},
				methods:{
					getresult(){
						this.nameresult=this.name+this.name1
					}
				}
			});
		</script>
	</body>
</html>
